package com.lxmes.hr.service;

import java.util.List;
import com.lxmes.hr.domain.NcPieceworkParam;

/**
 * 计件参数Service接口
 *
 * @author ruoyi
 * @date 2023-01-16
 */
public interface INcPieceworkParamService
{
    /**
     * 查询计件参数
     *
     * @param id 计件参数主键
     * @return 计件参数
     */
    public NcPieceworkParam selectNcPieceworkParamById(Long id);

    /**
     * 查询计件参数列表
     *
     * @param ncPieceworkParam 计件参数
     * @return 计件参数集合
     */
    public List<NcPieceworkParam> selectNcPieceworkParamList(NcPieceworkParam ncPieceworkParam);

    /**
     * 新增计件参数
     *
     * @param ncPieceworkParam 计件参数
     * @return 结果
     */
    public int insertNcPieceworkParam(NcPieceworkParam ncPieceworkParam);

    /**
     * 修改计件参数
     *
     * @param ncPieceworkParam 计件参数
     * @return 结果
     */
    public int updateNcPieceworkParam(NcPieceworkParam ncPieceworkParam);

    /**
     * 批量删除计件参数
     *
     * @param ids 需要删除的计件参数主键集合
     * @return 结果
     */
    public int deleteNcPieceworkParamByIds(Long[] ids);

    /**
     * 删除计件参数信息
     *
     * @param id 计件参数主键
     * @return 结果
     */
    public int deleteNcPieceworkParamById(Long id);

    String imporIteminfo(List<NcPieceworkParam> userList, boolean updateSupport, String operName);

    int readPersonnelInfo();
}
